﻿@extends('Layout/layout')

@section('yemian')
<style type="text/css">
	.e_css {
    background: url(/public/images/lift_li_02_02.gif) no-repeat;
    width: 179px;
    font-weight: bold;
    color: #000;
    z-index: 1;
	}
</style>
<script type="text/javascript">
	$(document).ready(function(){ 
	 
		document.getElementById("geren").className = "e_css";
	}); 
</script>
<body class="mian_bj">
<div class="mian_top_01">
<div class="mian_top_r"></div>
<div class="mian_top_l"></div>
<div class="mian_top_c">
<ul>
<li><a href="{{ url('/Lzk/Schedule') }}"><p>日程安排</p></a></li>
<li><a href="{{ url('/Lzk/Log') }}"><p>工作日志</p></a></li>
<li><a href="{{ url('/Lzk/PerLog') }}"><p>员工日志</p></a></li>
</ul>
</div>
<div class="mian_b">
<div class="mian_b1">
<a href="{{ url('/Lzk/Log/add') }}" title="添加" ><p class="mian_b1_a1"></p></a>

<form action="{{url('/CarManagement')}}" modth="get">


<span style="font-size:25px;margin-left:30px;"><a href="{{ url('/Lzk/Log/zhou') }}">&nbsp;查看最近7天日志</a></span>


<span style="font-size:25px;margin-left:30px;"><a href="{{ url('/Lzk/Log/yue') }}">&nbsp;查看最近一月日志</a></span>
</form>

	
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg">
<tr>
<td width="3%" class="mian_b_bg_lm"></td>
<td width="11%" class="mian_b_bg_lm"><span></span></td>
<td width="13%" class="mian_b_bg_lm"><span></span>标题</td>
<td width="11%" class="mian_b_bg_lm"><span></span>内容</td>
<td width="13%" class="mian_b_bg_lm"><span></span>时间</td>
<td width="35%" class="mian_b_bg_lm"><span></span>是否公开</td>
<td colspan="2" class="mian_b_bg_lm"><span></span>操作</td>
</tr>

@foreach($linfo as $k=>$v)
<tr>
<td><input name="" type="checkbox" value="">&nbsp;</td>
<td></td>
<td>{{$v['Title']}}</td>

<td>{{$v['Content']}}</td>
<td>{{date('Y-m-d H:i:s',$v['Date'])}}</td>
<td>{{str_replace([1,2],['是','否'],$v['Hidden'])}}</td>
<td width="4%"><a href="{{ url('/Lzk/Log/edit',['id'=>$v['id']]) }}">&nbsp;修改</a></td>
<td width="12%"><a href="{{ url('/Lzk/Log/del',['id'=>$v['id']]) }}">&nbsp;删除</a></td>
</tr>
@endforeach
</table>



</div>
</div>
</body>

@endsection